import Vue from 'vue'
import App from './App.vue'
import router from './router'

import 'reset-css'
import '@/assets/css/public.less'
import store from './store'

Vue.config.productionTip = false


import SlideVerify from 'vue-monoplasty-slide-verify' // 拼图验证码
Vue.use(SlideVerify)

// 给vue的原型对象添加一个，弹框组件的属性
import Confirm from './base/confirm/index';

Vue.prototype.$Confirm = Confirm;

// 接口文档有说明，存网络路径，供全局使用
Vue.prototype.imgBaseUrl = "http://sc.wolfcode.cn"

import imgLazy from '@/directive/imgLazy.js'
Vue.directive('imgLazy', imgLazy)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
